package com.easylinkin.linkappapi.keywork.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @author HuangLei
 * @since 2025-06-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("rail_safe_table_item")
public class SafeTableItem extends Model<SafeTableItem> {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private Long id;

    @TableField("tenant_id")
    private String tenantId;


    /**
     * 关联作业id
     */
    @TableField("keywork_id")
    private Long keyworkId;

    /**
     * 检查内容父类
     */
    @TableField("check_content_classify")
    private String checkContentClassify;

    /**
     * 检查内容
     */
    @TableField("check_content")
    private String checkContent;

    /**
     * 管理/控制要求
     */
    @TableField("check_require")
    private String checkRequire;

    /**
     * 管理/控制要求说明
     */
    @TableField("check_require_intro")
    private String checkRequireIntro;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
